/* 顶部 */
.header{
    width: 90%;
    height: 30px;
    background-color: gainsboro;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
}
.header>ul{
    display: flex;
    justify-content: center;
    align-items: center;
}
.header>ul>li{
    margin: 0px 5px;
}

.header > ul > li.active {
    display: none;
  }
.header li:hover{
    color: orange;
}
.header a:hover{
    color: orange;
}
/* 搜索 */
.nav{
    width: 90%;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.nav>.left{
    width: 190px;
    height: 90px;
}
.nav>.left>img{
    width: 100%;
    height: 100%;
}
.nav>form{
    width: 550px;
    display: flex;
    margin-right: 6%;
}
.nav>form>input{
    height: 40px;
    border: orange 1px solid;
    border-right: none;
}
.nav>form>.hq{
    width: 430px;
    border-top-left-radius: 13px;
    border-bottom-left-radius: 13px;
}
.nav>form>.tj{
    width: 120px;
    font-size: 15px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    border: 1px solid orange;
    background: orange;
    border-top-right-radius: 13px;
    border-bottom-right-radius: 13px;
}
.nav>form>.hq:hover{
    border: 2px solid gray;
}
.nav>form>.hq:hover +.tj{
    border: 2px solid gray;
    border-left: none;
}
.nav>form>input>.tjde:hover{
    background: red;
    color: white;
}
.nav>.di{
    width: 550px;
    height: 271px;
}
.nav ul{
    width: 547px;
    padding: 10px;
    box-sizing: border-box;
    position: absolute;
    right: 6%;
    top: 73%;
    display: none;
    z-index: 999;
}
.nav ul > li {
    list-style: none;
    font-size: 16px;
    padding-left: 30px;
  }
.nav ul > li:hover {
    background-color: orange;
    color: #fff;
    cursor: pointer;
  }
  .sn{
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000090;
    width: 35px;
    height: 90%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #383838;
    font: 12px/1.5 arial,tahoma,\5b8b\4f53;
  }
  .sn span{
    display: none;
    pointer-events: none;
  }
  .sn span.active{
    display: block;
  }
  .sn>div{
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .sn i{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 5px 0;
  }
  .sn .a{
    position: absolute;
    top: 0;
    left: 30%;
    color: black;
    font-size: 16px;
  }
  .sn .b{
    position: absolute;
    top: 0;
    left: -100%;
    color: black;
    font-size: 16px;
  }
  .sn>div:nth-of-type(1){
    margin-top: 30px;
  }
  .sn>div:hover{
    background-color: orangered;
  }
  .sn>ul{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .sn>ul>li{
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .sn>ul>li:hover{
    background-color:orangered;
  }
  .box {
    width: 90%;
    border: 1px solid orange;
    margin: 10px auto;
    box-sizing: border-box;
    padding: 15px;
  }
  
  .box > .content {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
  }
  
  .box > .content > .left {
    width: 120px;
    text-align: center;
  }
  
  .box > .content > .right {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
  }
  
  .box > .content > .right > li {
    padding: 5px 10px;
    margin: 5px 10px;
    cursor: pointer;
  }
  
  .box > .content > .right > li:hover,
  .box > .content > .right > li.active {
    background-color: orange;
    color: #fff;
  }
  
  .box > .search > .right > input {
    padding: 5px;
    padding-left: 20px;
  }
  
  .box > .pagenation > .right > span.left,
  .box > .pagenation > .right > span.right {
    padding: 5px 20px;
    background-color: skyblue;
    color: #fff;
    margin: 0 10px;
    cursor: pointer;
  }
  
  .box > .pagenation > .right > span.left.disable,
  .box > .pagenation > .right > span.right.disable {
    background-color: #ccc;
    cursor: not-allowed;
  }
  
  .box > .pagenation > .right > span.total {
    padding: 5px 0;
  }
  
  .box > .pagenation > .right > select {
    padding-left: 24px;
    margin-left: 30px;
  }
  
  .box > .pagenation > .right > input {
    width: 50px;
    text-align: center;
    margin: 0 30px;
  }
  
  
  .list {
    width: 90%;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .list > li {
    height: 500px;
    box-sizing: border-box;
    border: 1px solid #333;
    width: 280px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
  }
  
  .list > li > * {
    pointer-events: none;
  }
  
  .list > li button {
    pointer-events: all;
  }
  
  .list > li > .show {
    width: 100%;
    height: 280px;
    position: relative;
  }
  
  .list > li > .show > span {
    position: absolute;
    right: 0;
    top: 0;
    background-color: red;
    color: #fff;
    padding: 5px 15px;
  }
  
  .list > li > .show > span.sale {
    right: 80px;
    background-color: orange;
  }
  
  
  .list > li > .info {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .list > li > .info > .title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
  
  .list > li > .info > .price {
    display: flex;
    justify-content: space-around;
    color: #ccc;
  }
  
  .list > li > .info > .price > .old {
    font-size: 16px;
    text-decoration: line-through;
  }
  
  .list > li > .info > .price > .current {
    color: red;
    font-size: 20px;
  }
  